/**
 * @Project POL3Cay
 * @Author Tran Manh Hung
 * @Email: hungtmit@gmail.com | tmh@xwebgate.com
 * @Copyright © 2011 TMH. All rights reserved
 * @Createdate Feb 25, 2011
 * @Createtime 10:50:58 AM
 */

package events
{
	import flash.events.Event;

	public class BaCayEvent extends Event
	{
		private var _hgData:Object;

		public static const RECEIVE_CARD:String = "receiveCard";

		public static const DEAL_CARD_DONE:String = "dealCardDone";

		public function BaCayEvent(type:String, hgData:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);

			_hgData = hgData;
		}

		override public function clone():Event
		{
			return new BaCayEvent(type, hgData, bubbles, cancelable);
		}

		public function get hgData():Object
		{
			return _hgData;
		}

		public function set hgData(value:Object):void
		{
			_hgData = value;
		}

	}
}